<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script type="text/javascript" src="../js/jquery-1.4.2.js"></script>
<script type="text/javascript" src="../js/jquery.ztree-2.6.js"></script>
<script type="text/javascript" src="../js/jquery.ztree-2.6.min.js"></script>
<link
	href="<%=request.getContextPath()%>/resource/css/zTreeStyle/zTreeIcons.css"
	rel="stylesheet" type="text/css" />
<link
	href="<%=request.getContextPath()%>/resource/css/zTreeStyle/zTreeStyle.css"
	rel="stylesheet" type="text/css" />
<script type="text/javascript">
function SetCwinHeight(framename){
var iframeid=document.getElementById(framename); //框架页id
   if (iframeid && !window.opera){
   	iframeid.height = document.documentElement.offsetHeight - 30;
   	document.getElementById("divLine").style.height = iframeid.height;
   }else if(iframeid){
   	iframeid.height = document.body.offsetHeight - 30;
   }
}

window.onresize=function(){
	SetCwinHeight('contentiframe');
	SetCwinHeight('treeiframe');
}
</script>
<style>
html,body{ margin:0; height:100%; }
.weste{width: 2px;background-color:#B2DFEE;}
</style>
</head>
<body STYLE='OVERFLOW: SCROLL; OVERFLOW-Y: HIDDEN; height: 100%'>
<table width="100%">
	<tr>
		<td width="15%"><iframe id="treeiframe" style="width: 100%;"
			frameborder="0" onload="SetCwinHeight('treeiframe');"
			name="treeiframe" src="${treePath}" frameborder="1" scrolling="yes"></iframe>
		</td>
		<td>
			<div id="divLine" class="weste"></div>
		</td>
		<td width="84%" height="100%"><iframe id="contentiframe"
			name="contentiframe" frameborder="0"
			onload="SetCwinHeight('contentiframe');" style="width: 100%;"
			scrolling="yes"> </iframe></td>
	</tr>
</table>
</body>
</html>